package com.sanhe.rfmuscle.event;

import com.menu.app.MyApp;
import com.menu.app.event.BaseLongEvent;
import com.menu.app.model.Models;
import com.plata.base.aclr.utils.SPHelper;

public class Num1Event extends BaseLongEvent {
    @Override
    public boolean postValue(Long value) {
        boolean bo = super.postValue(value);
        if (bo) {
            SPHelper.getInstance(MyApp.getApp(), true).putLong("card", value).commit();
        }
        Models.Companion.get().getPointEvent().postValue(value);
        return bo;
    }
}
